class Utils {
    getUrlName(name) {
        name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
        var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
        results = regex.exec(window.location.search);
        return results == null ? "": decodeURIComponent(results[1]);
    }
}
const utils = new Utils()
export default utils